package com.cloud.example.business.async.entity;

/**
 * @author chengr
 */
public class Car {

    private String carName;

    private Integer useAge;

    private String color;

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public Integer getUseAge() {
        return useAge;
    }

    public void setUseAge(Integer useAge) {
        this.useAge = useAge;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Car() {
    }

    public Car(String carName, Integer useAge, String color) {
        this.carName = carName;
        this.useAge = useAge;
        this.color = color;
    }

    @Override
    public String toString() {
        return "Car{" +
                "carName='" + carName + '\'' +
                ", useAge=" + useAge +
                ", color='" + color + '\'' +
                '}';
    }
}
